-- GENERATED SPELL FOR [Nightbane Vile Fang] --


function spell0_206(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_206', 30295, 1)
end

function Sorts_206(pUnit, Event)
local choix_sorts_206 = math.random(0, 0)
if choix_sorts_206 == 0 then
pUnit:RegisterEvent('spell0_206', 1, 1)
end
end

function mob206_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_206', math.random(1500, 3000), 1)
end

function mob206_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob206_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob206_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(206, 1, 'mob206_Action')
RegisterUnitEvent(206, 2, 'mob206_Leave')
RegisterUnitEvent(206, 3, 'mob206_Kill')
RegisterUnitEvent(206, 4, 'mob206_Die')
